<?php
/**
 * @version SVN: $Id: controller.php 1189 2010-05-07 10:59:02Z elkuku $
 * @package    EasyCreator
 * @subpackage Controllers
 * @author     EasyJoomla {@link http://www.easy-joomla.org Easy-Joomla.org}
 * @author     Nikolai Plath {@link http://www.nik-it.de}
 * @author     Created on 03-Mar-08
 * @license    GNU/GPL, see JROOT/LICENSE.php
 */

//-- No direct access
defined('_JEXEC') or die('=;)');

jimport('joomla.application.component.controller');

/**
 * EasyCreator Controller.
 *
 * @package     EasyCreator
 */
class EasyCreatorController extends JController
{
    /**
     * Constructor.
     *
     * @param array $config Configuration.
     */
    function __construct($config = array())
    {
        parent::__construct($config);
    }// function

    /**
     * Method to display the view.
     *
     * @return void
     */
    public function display($cachable = false)
    {
        $task = JRequest::getCmd('task');

        if($task)
        {
            //--there should be no task left.. missing controller ;(
            echo '<p style="color: red;">HU ?? main controller.. --&gt; '.$task.'</p>';
        }

        parent::display();
    }// function

}// class
